<template>
  <z-space>
    <z-input-number v-model:value="value" :min="1" :max="100" :accuracy="2" :step="0.05"/>
    <z-button type="primary" @click="value = 99">Reset</z-button>
  </z-space>
</template>
<script>
import { defineComponent, ref,watch } from 'vue';
export default defineComponent({
  setup() {
    const value = ref(99);
    // watch(value, (val)=>{
    //   console.log(val,'---------------watch--------')
    // })
    return {
      value,
    };
  },

});
</script>